package controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

public class HelloTestCtrl {
    @RequestMapping("/toaa")
    public String syaHello(){
        return "aa";
    }

    @ResponseBody
    @RequestMapping("aa")
    public String syaHello1(){
        System.out.println("33333");
        return "你好@@@！";
    }


    @GetMapping("test")
    public String goTest(){
        //return "../templates/test.html";
        return "test";
    }
    @GetMapping("bb")
    public String goAa(){
        return "admin/bb";
    }
}
